<div class="container" ng-controller="CompanysCtrl">
    <div class="body">
        <div class="left">
            <ul>
                <li ng-repeat="operation in data.operationList">
                    <a href="{{operation.url}}" style="color:#fff;background:#1ebdff;text-decoration:none;" ng-if="operation.url == nowUrl">{{operation.name}}</a>
                    <a href="{{operation.url}}" ng-if="operation.url != nowUrl">{{operation.name}}</a>
                </li>
            </ul>
        </div>
        <div class="right">
            <form  role = "form" class = "form form-inline">
                <div class = "form-group">
                    <label class = "sr-only">用户名</label>
                    <input type = "text" class ="form-control" ng-model="data.search" placeholder = "姓名/昵称/企业名称/手机号码" id="inp">
                    <button class="btn btn-default" ng-click="searchBtn()" id="search">搜索</button>
                </div>
            </form>
            <div class="tendertime">
                <ul class="condition">
                    <!--<li>-->
                        <!--<div class="condition-left">-->
                            <!--公司性质：-->
                            <!--<a href="javascript:void(0)" class="allcondition">全部</a>-->
                        <!--</div>-->
                        <!--<div class="line"></div>-->
                        <!--<div class="condition-right">-->
                            <!--<a href="javascript:void(0)">国企</a>-->
                            <!--<a href="javascript:void(0)">私企</a>-->
                        <!--</div>-->
                    <!--</li>-->
                    <!--<li>-->
                        <!--<div class="condition-left">-->
                            <!--招标地区：-->
                            <!--<a href="javascript:void(0)" class="allcondition">全部</a>-->
                        <!--</div>-->
                        <!--<div class="line"></div>-->
                        <!--<div class="condition-right">-->
                            <!--<a href="javascript:void(0)" ng-repeat="city in cityList" ng-click="cityChange(city.cityID)">-->
                                <!--<span ng-if="city.cityID == data.cityID" style="display:inline-block;background:#1ebdff;color:#fff;padding:0px 3px;">{{city.cityName}}</span>-->
                                <!--<span ng-if="city.cityID != data.cityID">{{city.cityName}}</span>-->
                            <!--</a>-->
                        <!--</div>-->
                    <!--</li>-->
                    <li>
                        <div class="condition-left">
                            注册资金：
                            <a href="javascript:void(0)" class="allcondition">全部</a>
                        </div>
                        <div class="line"></div>
                        <div class="condition-right">
                            <a href="javascript:void(0)">200-500w</a>
                            <a href="javascript:void(0)">500-1000w</a>
                        </div>
                    </li>
                    <!--<li>-->
                        <!--<div class="condition-left">-->
                            <!--企业性质：-->
                            <!--<a href="javascript:void(0)" class="allcondition">全部</a>-->
                        <!--</div>-->
                        <!--<div class="line"></div>-->
                        <!--<div class="condition-right">-->
                            <!--<a href="javascript:void(0)">施工企业</a>-->
                            <!--<a href="javascript:void(0)">监理企业</a>-->
                            <!--<a href="javascript:void(0)">招标代理</a>-->
                            <!--<a href="javascript:void(0)">供应商</a>-->
                            <!--<a href="javascript:void(0)">运输企业</a>-->
                            <!--<a href="javascript:void(0)">项目管理代建</a>-->
                        <!--</div>-->
                    <!--</li>-->
                    <li>
                        <div class="condition-left">
                            具备资质：
                            <a href="javascript:void(0)" class="allcondition">全部</a>
                        </div>
                        <div class="line"></div>
                        <div class="condition-right">
                            <a data-toggle="modal" data-target="#myModal">工程建设甲级资质</a>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="newtender">
                <h3>最新招标信息</h3>
                <button class="addcompany btn btn-default pull-right">
                    <img src="./images/add-icon.png" alt="">
                    增加公司
                </button>
                <ul class="tender-info">
                    <li ng-repeat="company in data.companys track by $index">
                        <a href="#/companydetail/{{company.companyID}}">{{(number+$index+1)+". "+company.companyName}}</a>
                        <div class="tenderright">
                            <span class="tenderplace">{{company.place}}</span>
                            <span class="tenderdate">{{company.date}}</span>
                            <button class="btn btn-default" ng-click="company.btnDeleteCompany()">删除</button>
                            <button class="btn btn-default" ng-click="company.btnEditCompany()">编辑</button>
                        </div>
                    </li>
                </ul>
            </div>
            <form  role = "form" style="float:right;margin-top:20px;">
                <div class = "form-group">
                    <label class = "sr-only">上一页</label>
                    <button class="btn btn-default" ng-disabled="data.prevDisable" ng-click="prevPageBtn()">上一页</button>
                    <label class = "sr-only">下一页</label>
                    <button class="btn btn-default" ng-disabled="data.nextDisable" ng-click="nextPageBtn()">下一页</button>
                    <label class = "sr-only">下拉列表</label>
                    <input type="number" min="1" style="width:50px;" ng-model="data.number"/>
                    <label class = "sr-only">确定</label>
                    <button class="btn btn-default" ng-click="btnClicked()">确定</button>
                </div>
            </form>

        </div>
    </div>
    <!--<div class="intelligence">-->
        <!--<div class="times pull-right">&times;</div>-->
        <!--<ul class="parentDom">-->
            <!--<li ng-repeat="dom in data.domList">-->
                <!--<span><i class="glyphicon glyphicon-folder-open" style="color:#f5b32b;" ng-click="domClick()"></i> <a ng-click="domClick1($index, dom.gradeID)">{{dom.gradeName}}</a></span>-->
                <!--<ul ng-repeat="childDom in data.childDomList" class="active">-->
                    <!--<li>-->
                        <!--<span><i class="glyphicon glyphicon-folder-open" style="color:#f5b32b;" ng-click="domClick()"></i> <a ng-click="domClick2($index, childDom.gradeID)">{{childDom.gradeName}}</a></span>-->
                        <!--<ul ng-repeat="childDom in data.secondChildDomList"  class="active">-->
                            <!--<li>-->
                                <!--<span><i class="glyphicon glyphicon-folder-open" style="color:#f5b32b;" ng-click="domClick()"></i> <a ng-click="domClick3($index, childDom.gradeID)">{{childDom.gradeName}}</a></span>-->
                                <!--<ul ng-repeat="childDom in data.thirdChildDomList">-->
                                    <!--<li>-->
                                        <!--<span><i class="glyphicon glyphicon-folder-open" style="color:#f5b32b;" ng-click="domClick()"></i> <a ng-click="">{{childDom.gradeName}}</a></span>-->
                                    <!--</li>-->
                                <!--</ul>-->
                            <!--</li>-->
                        <!--</ul>-->
                    <!--</li>-->
                <!--</ul>-->
            <!--</li>-->
        <!--</ul>-->
    <!--</div>-->
</div>
